package tms

type Tag map[string]string

const (
	keyId     = "id"
	keyRename = "renameEventName"
)

// NewTag 操作标签
// id 是资源ID,必填
// newName 是更新后的名称,非必填
func NewTag(id, newName string) Tag {
	return map[string]string{
		keyId:     id,
		keyRename: newName,
	}
}
